<form action="<?php echo base_url('User/AccountService/signIn'); ?>" method="post">

	<h1><?php echo $this->l('Sign In'); ?></h1>
    <?php include(((BASEPATH == '/')?'':dirname(BASEPATH)).'/'.APPPATH.'views/Templates/flashMessage.php'); ?>
	
	<div class="login-fields">
		
		<p><?php echo $this->l('Sign in using your registered account:'); ?></p>
		
		<div class="field<?php echo (form_error('username'))?' error':''; ?>">
			<label for="username"><?php echo $this->l('Username:'); ?></label>
			<input type="text" id="username" name="username" value="<?php echo set_value('username'); ?>" placeholder="<?php echo $this->l('Username'); ?>" class="form-control input-lg username-field" />
            <?php echo form_error('username', '<span class="error">', '</span>'); ?>
        </div> <!-- /field -->
		
		<div class="field<?php echo (form_error('passwd'))?' error':''; ?>">
			<label for="passwd"><?php echo $this->l('Password:'); ?></label>
			<input type="password" id="passwd" name="passwd" value="<?php echo set_value('passwd'); ?>" placeholder="<?php echo $this->l('Password'); ?>" class="form-control input-lg password-field"/>
            <?php echo form_error('passwd', '<span class="error">', '</span>'); ?>
		</div> <!-- /password -->
		
	</div> <!-- /login-fields -->
	
	<div class="login-actions">
		
		<span class="login-checkbox">
			<input id="rememberme" name="rememberme" type="checkbox" class="field login-checkbox" value="1" tabindex="4" />
			<label class="choice" for="rememberme"><?php echo $this->l('Keep me signed in'); ?></label>
		</span>
							
            <button class="login-action btn btn-primary" name="btn_submit" value="1"><?php echo $this->l('Sign In'); ?></button>
		
	</div> <!-- .actions -->
	
</form>
